PHPExcel Reading WorkBook Data Example #04

Get a List of the Worksheets in a WorkBook


Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE.php on line 288

Reading the number of Worksheets in the WorkBook
There are 3 WorkSheets in the WorkBook

Reading the names of Worksheets in the WorkBook
WorkSheet #0 is named "Data Sheet #1"
WorkSheet #1 is named "Data Sheet #2"
WorkSheet #2 is named "Data Sheet #3"